﻿using Newtonsoft.Json;
using System;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.DataContract.Page
{
    /// <summary>
    /// 基本的分页信息
    /// </summary>
    [Serializable]
    public class PageOptions
    {
        /// <summary>
        /// 分页索引
        /// </summary>
        [JsonProperty("page_index"), JsonPropertyName("page_index")]
        public int PageIndex { get; set; }

        /// <summary>
        /// 分页条数
        /// </summary>
        [JsonProperty("page_size"), JsonPropertyName("page_size")]
        public int PageSize { get; set; }
    }
}